package model;

public class User {

	private int role;
	private String 
	id,
	username,
	password, 
	address, 
	birthday, 
	sex, 
	email;
	
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	

	
	public User(String id,String username,String password,String address,String birthday,String sex, String email,int role) {
		this.id=id;
		this.username=username;
		this.password=password;
		this.address = address;
		this.birthday = birthday;
		this.sex = sex;
		this.email = email;
		this.role=role;
	}
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getType() {
		return role;
	}

	public void setType(int type) {
		this.role = type;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

		
}
